
//显示
import TheatersList from "../../modules/theaters/Showall.js";
//添加
import AddTheaters from "../../modules/theaters/addtheaters.js";
import CinemaDetail from "../../modules/theaters/theatersDetail.js";
//编辑
import EditTheaters from "../../modules/theaters/edittheaters.js";
//查询
import QueryTheaters from "../../modules/theaters/querytheaters.js";

export default {
    //显示所有影院列表
    "/Showall": {
        on: () => {
            new TheatersList("app");// 显示影院列表  
        }
    },
    //添加影院
    "/addtheaters": {
        on: () => {
            new AddTheaters("app");
        }
    },
    //显示影院详细信息
    "/cinemadetail/:cinemaId": {
        on: (id) => {
            new CinemaDetail("app", id);
        }
    },
    //修改影院信息
    "/edittheaters/:cinemaId": {
        on: (id) => {
            new EditTheaters("app", id);
        }
    },
    //分类查询影院信息
    "/Qutheaters": {
        on: () => {
            new QueryTheaters("app");
        }
    },
}